package com.yyge.entity;

import java.util.Objects;

public class AddrInfo {
    private Integer addr_id;
    private Integer addr_pre_id;
    private String addr_info;
    private Integer lev;
    private String value_1;

    public Integer getAddr_id() {
        return addr_id;
    }

    public void setAddr_id(Integer addr_id) {
        this.addr_id = addr_id;
    }

    public Integer getAddr_pre_id() {
        return addr_pre_id;
    }

    public void setAddr_pre_id(Integer addr_pre_id) {
        this.addr_pre_id = addr_pre_id;
    }

    public String getAddr_info() {
        return addr_info;
    }

    public void setAddr_info(String addr_info) {
        this.addr_info = addr_info;
    }

    public Integer getLev() {
        return lev;
    }

    public void setLev(Integer lev) {
        this.lev = lev;
    }

    public String getValue_1() {
        return value_1;
    }

    public void setValue_1(String value_1) {
        this.value_1 = value_1;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AddrInfo addrInfo = (AddrInfo) o;
        return Objects.equals(addr_id, addrInfo.addr_id) && Objects.equals(addr_pre_id, addrInfo.addr_pre_id) && Objects.equals(addr_info, addrInfo.addr_info) && Objects.equals(lev, addrInfo.lev) && Objects.equals(value_1, addrInfo.value_1);
    }

    @Override
    public int hashCode() {
        return Objects.hash(addr_id, addr_pre_id, addr_info, lev, value_1);
    }

    @Override
    public String toString() {
        return "AddrInfo{" +
                "addr_id=" + addr_id +
                ", addr_pre_id=" + addr_pre_id +
                ", addr_info='" + addr_info + '\'' +
                ", lev=" + lev +
                ", value_1='" + value_1 + '\'' +
                '}';
    }
}
